package com.yeqifu.bus.constant;

/**
 * 常量接口
 * @author yeqifu
 */
public interface SysConstant {

    String USER_LOGIN_ERROR_MSG = "用户名或密码不正确";
    String USER_LOGIN_CODE_ERROR_MSG = "验证码不正确";

    /**
     * 可用状态
     */
    Integer AVAILABLE_TRUE = 1;
    Integer AVAILABLE_FALSE = 0;

    /**
     * 用户类型
     */
    Integer USER_TYPE_SUPER = 1;
    Integer USER_TYPE_NORMAL = 2;

    /**
     * 是否展开
     */
    Integer SPREAD_TRUE = 1;
    Integer SPREAD_FALSE = 0;

    /**
     * 操作状态
     */
    String ADD_SUCCESS = "添加成功";
    String ADD_ERROR = "添加失败";

    String ADD_SUCCESS_RENT = "添加出租单成功，请等待审核！";
    String ADD_ERROR_RENT = "添加出租单失败";

    String CHECK_SUCCESS_RENT = "审核成功";
    String CHECK_ERROR_RENT = "审核失败";

    String UPDATE_SUCCESS = "更新成功";
    String UPDATE_ERROR = "更新失败";

    String DELETE_SUCCESS = "删除成功";
    String DELETE_ERROR = "删除失败";

    String RESET_SUCCESS = "重置成功";
    String RESET_ERROR = "重置失败";

    String DISPATCH_SUCCESS = "分配成功";
    String DISPATCH_ERROR = "分配失败";

    /**
     * 操作成功
     */
    Integer CODE_SUCCESS = 0;

    /**
     * 操作失败
     */
    Integer CODE_ERROR = -1;

    /**
     * 公用常量
     */
    Integer CODE_ZERO = 0;
    Integer CODE_ONE = 1;
    Integer CODE_TWO = 2;
    Integer CODE_THREE = 3;

    /**
     * 用户初始密码
     */
    String USER_DEFAULT_PWD="123456";

    //!!!!!注意这里是你的APPID沙箱里查看
    //应用id
    String APP_ID="2016102500756719";

    //!!!!!注意这里是你的应用私钥，在支付宝开发平台助手里（就是刚才生成的私钥）
    //应用私钥
    String APP_PRIVATE_KEY="MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCExoMhTomb63XUFKAKyi9dZPlmQKTgO7kJiuwcaVZ2mySgJV1+pXauSwX5h1D6H/am50tcpjIRqljK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u9DLquX9AbXs4K0KkyP1VWT0yzbOzmR2aKdtSrHdKUQVwgklbJmXUiCk5v1Wlj4TRAoGAZXkWgR+4yNvTNFV0YT4rRWnNrFCTzUqt1XNku5BhxCnrZFAToGsthyFbXYKzKrrNYdRLSEnzzvc9rXaR2cc3soJ3SXj3VBOjYemwJlC8dOYckSzbkPODHsc/nb+pslVvX2YamIpGLCS0HxjITy1VdgsBAqzMUgqF0p6bZEKFHz0CgYEA0gn4+L84r5RqggA+99p3zWOK603b9RO6SvpaI+qgmWwuu4YOo+f0wyvpjiIM2RjUS0znEIhhgfCq6CT2LGukHP/pa+246way4Yrna4JltT4kpQnFlpCGVGLjgAZlKe95URNRkEvoYR6Aqk2Bz5pYS37pKbjLHGyke8IQ0rtnNgw=";
    //字符集
    String CHARSET="UTF-8";

    //!!!!!注意这里是你的支付宝公钥，在沙箱环境中RSA2(SHA256)密钥 弹窗里面的,支付宝公钥
    //应用公钥
    String ALIPAY_PUBLIC_KEY="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAq8mKPpbYjqlBlBdZZtEt/h5KblvtgZznir4qGFUX0wnAiConl+cSH996XHXv7fE77d30m5Q0+eKc0mXv2CJZnOGJqGnSUFpOWIVUCvgstIa2I/eI78l3TCf21gxPBHMWBf/jUkLU5lidDAvTI4xLv/E7sHwZsLR9v54B/apTPvD7nVQmezz21DLY8YWl0+H0kFVDZTTN7CpTJPIbE958AB4kZwSicAoNGdABslvFnqMd3gRvE+Dakl67l3U8CfeXgm0hyiCyFHcX6mgoTPeSUdEv1MliWPbGjgwl0dAxvhLZ873zk94EW9yakckAZVc2oJgVC8k4JwO3wnVdEgRlswIDAQAB";

    //!!!!!注意这里是你的支付宝网关，在沙箱环境里查看
    //网关
    String GATEWAY_URL="https://openapi.alipaydev.com/gateway.do";

    //格式化
    String FORMAT="json";
    //签名类型
    String SIGNTYPE="RSA2";
}
